package tack15;

import javax.swing.*;
import java.awt.*;

/**
 * 取款界面
 */
public class GetPanel extends JPanel {
    private Font font = new Font("黑体",Font.PLAIN,30);
    private JLabel jTable = new JLabel("输入取款金额");

    private JTextField jTextField = new JTextField();


    private ImageIcon tuiCu = new ImageIcon("atmlogo/buttonOff.jpg");
    private ImageIcon confirm = new ImageIcon("atmlogo/buttonSure.jpg");

    private JButton saveBtn = new JButton(tuiCu);
    private JButton saveBtn1 = new JButton(confirm);
    public GetPanel(){
        this.setLayout(null);

        saveBtn.setBounds(660,340,150,50);
        saveBtn1.setBounds(660,240,150,50);

        jTextField.setBounds(470,240,150,50);

        jTable.setBounds(250,240,180,50);
        jTable.setFont(font);
        jTable.setForeground(Color.cyan);

        this.add(saveBtn);
        this.add(saveBtn1);
        this.add(jTable);
        this.add(jTextField);

        this.setOpaque(false);
    }

}
